<!doctype html>
<html>
    <meta charset="utf-8">
        <title>Deposits and Withdrawals</title>
        <script type="text/javascript" src='http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js'></script>
        <!--<script src="http://cdn.bootcss.com/vue/1.0.24/vue.js"></script>-->
        <!--<script src="http://cdn.bootcss.com/vue/2.0.5/vue.js"></script>-->
        <script src="//cdn.bootcss.com/vue/2.0.5/vue.js"></script>
        <script src="//cdn.bootcss.com/lodash.js/4.16.6/lodash.min.js"></script>
		<script src="http://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
		<script src="../js/exfun.js"></script>
		<script src="../build/fields.pack.js"></script>
		<!--<script src="../build/file.pack.js"></script>-->

        <script type="text/javascript">
			Vue.config.devtools = true
			//use_color()
//			field ({name:'dog',template:field_str('horizon',l='col-md-1')})
//			field()
	        meta={
				errors:{},
				row:{
					username:'',
					password:'',
					pas2:'',
					hh:'',
					jjyy:['2'],
				},
				heads:[
					{name:'username',label:'用户名',type:'linetext',required:true,autofocus:true},
					{name:'password',label:'mima',type:'linetext',required:true,autofocus:true},
					{name:'hh',label:'ss',type:'color',},
					{name:'hjk',label:'ff',type:'logo',up_url:"jj"},
					{name:'hjkK',label:'fSSf',type:'logo',up_url:"jj"},
					{name:'jjyy',label:'fufu',type:'tow_col',options:[{value:'1',label:'xxx'},{value:'2',label:'bbb'}]},
					{name:'sub_date',label:'日期',type:'date',required:true},
					{name:'sub_datetime',label:'日期',type:'datetime',required:true},
					
				]
			}
//			sub=[{name:'username',type:'area'}]
//			merge(meta.heads,sub)
		$(function () {

			new Vue({
	        	el:'#hello',
	        	data:{
		        	meta:meta
	        	},
				methods:{
					show_upload:function(){
						show_upload()
					}
				}
        	})


//			$("#custom").spectrum({
//				color: "#f00"
//			});

		})

        
        </script>
    </head>
    <body>
        <h1 id='tt'>Top 3 Transactions</h1>
        <div id='hello' class="container">
	        <field name='username' v-bind:kw='meta' ></field>
			<field name="password" :kw="meta"></field>
			<field name="hh" :kw="meta"></field>
			<field name="hjk" :kw="meta"></field>
			<field name="hjkK" :kw="meta"></field>
			<field name='jjyy' :kw='meta'></field>
			<field name='sub_date' :kw='meta'>this is date</field>
			<field name='sub_datetime' :kw='meta'>this is date time</field>
			<!--<logo-input up_url="jj"></logo-input>-->
			<button class="btn" @click="show_upload()">show upload</button>
        </div>


    </body>

 
</html>